﻿/*
 * Created by SharpDevelop.
 * User: Lance.zhou
 * Date: 11/29/2012
 * Time: 4:20 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace chromium.Cache
{
	/// <summary>
	/// Description of CacheItem.
	/// </summary>
	public class CacheItem
	{
		private string key;
		private long offset;
		private long size;
		
		public CacheItem(string key, long offset, long size)
		{
			this.key = key;
			this.offset = offset;
			this.size = size;
		}
		
		public string Key{
			get{ return key;}
		}
		
		public long Offset{
			get{ return offset ;}
		}
		
		public long Size{
			get{ return size;}
		}
		
		public bool Expired{
			get{ return false;}
		}
	}
}
